/*
 * Date.java
 *
 * This program demonstrates the creation of a Class, Constructor and instance
 * variables.
 *
 
 */

package com.javacore.day3.booking;

/**
 * Date is a class to store date information in three instance variables
 * namely day, month and year.
 *
 * @author
 */

public class Date {
    
    /** Creates a new instance of Date */
    public Date() {
        day = 0;
        month = 0;
        year = 0;
    }
    
    /**
     * Instance variable to store day of a year.
     */
    byte day;
    
    /**
     * Instance variable to store month of a year.
     */
    byte month;
    
    /**
     * Instance variable to store a year.
     */
    short year;
    
}
